/**
 * reset清除标签默认样式2017-04-18
 */

html,
body {
    scroll-behavior: smooth;
    font-family: 'Microsoft YaHei', tahoma, arial, 'Hiragino Sans GB', '\5b8b\4f53', sans-serif;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 500;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
    display: block;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* custom */
a {
    color: #999;
    text-decoration: none;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

img {
    vertical-align: middle;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 5px;
    opacity: 0.6;
    background-image: linear-gradient(180deg, #18a8ed 0%, #497bc8 100%);
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 5px;
    opacity: 0.6;
    background-image: linear-gradient(180deg, #18a8ed 0%, #497bc8 100%);
    -webkit-border-radius: 6px;
}

html,
body {
    width: 100%;
}

body {
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*HTML5 reset*/
header,
footer,
section,
aside,
details,
menu,
article,
section,
nav,
address,
hgroup,
figure,
figcaption,
legend {
    display: block;
    margin: 0;
    padding: 0;
}

time {
    display: inline;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

legend small {
    font-size: 15px;
    color: #999;
}

svg:not(:root) {
    overflow: hidden;
}

/*取消chrome下input和textarea的聚焦边框：*/
input,
button,
select,
textarea {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/*取消chrome下textarea可拖动放大：*/
textarea {
    resize: none;
}

input:focus {
    border: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-modify: read-write-plaintext-only;
    -moz-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #ccc;
    font-weight: 500;
    font-size: 14px;
}
input:-moz-placeholder,
textarea::-moz-input-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #ccc;
    font-weight: 500;
}
input::-moz-placeholder,
textarea::-moz-input-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ccc;
    font-weight: 500;
}
input:-ms-input-placeholder,
textarea::-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #ccc;
    font-weight: 500;
}

/*IE下a:hover 背景闪烁*/
* html {
    overflow: -moz-scrollbars-vertical;
}

.fr {
    float: right;
}
.fl {
    float: left;
}
.clearfix {
    zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

.clearfix:after {
    clear: both;
}

.f16 {
    font-size: 16px;
}
.f18 {
    font-size: 18px;
}
.f20 {
    font-size: 20px;
}
.f24 {
    font-size: 24px;
}
.f32 {
    font-size: 32px;
}

